home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TeX 1995 July
/
TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO
/
macros
/
latex209
/
contrib
/
pslatex
/
fonts
/
old-dvips
/
thicken.ps
< prev
Wrap
Text File
|
1992-09-09
|
631b
|
25 lines
% Increase the strokewidth of a stroked (PaintType 1 or 3) font.
% If the font is not of the right PaintType or does not have a
% StrokeWidth entry, does nothing.
% Mario Wolczko, 10 Jan 92
/ThickenFont { % basefontname newfontname factor ThickenFont newfontname
20 dict begin
/factor exch def
exch findfont dup length dict /font exch def
{1 index /FID ne
{font 3 1 roll put}
{pop pop}
ifelse
} forall
font /PaintType get dup
1 eq exch 3 eq or
font /StrokeWidth known and
{ font /StrokeWidth get factor mul
font /StrokeWidth 3 2 roll put
} if
dup font definefont pop
end
} def